#include "comment.h"
#include "util/cvutil.h"
Comment::Comment(QObject *parent) :
    QObject(parent)
{
}

QString Comment::getId()
{
    return this->id;
}

QString Comment::getCommentText()
{
    return CVUtil::filterString(this->commentText);
}

QString Comment::getOwner()
{
    return this->owner;
}

QString Comment::getOwnerIcon()
{
    return this->ownerIcon;
}

QString Comment::getTimeCreated()
{
    return this->timeCreated;
}

void Comment::setId(const QString &id)
{
    this->id = id;
}

void Comment::setCommentText(const QString &text)
{
    this->commentText = text;
}

void Comment::setOwner(const QString &owner)
{
    this->owner = owner;
}

void Comment::setOwnerIcon(const QString &ownerIcon)
{
    this->ownerIcon = ownerIcon;
}

void Comment::setTimeCreated(const QString &timeCreated)
{
    this->timeCreated = timeCreated;
}
